package com.example.healthmanagement.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 儿童信息
 * </p>
 *
 * @author chen
 * @since 2024-03-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Childinformationtable implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ChildID", type = IdType.AUTO)
    private Integer ChildID;

    @TableField("UserID")
    private Integer UserID;

    @TableField("ChildName")
    private String ChildName;

    /**
     * 生日
     */
    @TableField("Birthdate")
    private String Birthdate;
    @TableField("sex")
    private String sex;
    /**
     * 身高
     */
    private Double height;


    private double bmi;
    /**
     * 体重
     */
    private Double weight;

    private Integer age;

    public Integer getChildID() {
        return ChildID;
    }

    public void setChildID(Integer childID) {
        ChildID = childID;
    }

    public Integer getUserID() {
        return UserID;
    }

    public void setUserID(Integer userID) {
        UserID = userID;
    }

    public String getChildName() {
        return ChildName;
    }

    public void setChildName(String childName) {
        ChildName = childName;
    }

    public String getBirthdate() {
        return Birthdate;
    }

    public void setBirthdate(String birthdate) {
        Birthdate = birthdate;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Double getHeight() {
        return height;
    }

    public void setHeight(Double height) {
        this.height = height;
    }

    public double getBmi() {
        return bmi;
    }

    public void setBmi(double bmi) {
        this.bmi = bmi;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
